package com.dy.design_pattern_study.abstract_factory_pattern.dome_abstract_factory.IDB.impl.sqlServer;

import com.dy.design_pattern_study.abstract_factory_pattern.Department;
import com.dy.design_pattern_study.abstract_factory_pattern.User;
import com.dy.design_pattern_study.abstract_factory_pattern.dome_abstract_factory.IDB.IDepartment;

/**
 * @CreateBy zhangdingyi
 * @Date 2023-04-05
 * @Content SQLService系列产品实现2
 */
public class SqlserverDepartment implements IDepartment {

    @Override
    public void Insert(Department department) {
        System.out.println("在 Sqlserver 中插入一条 Department 数据: Department = " + department);
    }

    @Override
    public User getDepartment(int number) {
        System.out.println("在 Sqlserver 中查询 Department 一条数据: id = " + number);
        return null;
    }
}
